{% if not environment.web %}
{% extends 'index.html' %}
{% endif %}

{% block body %}
 <div class="row">
     <div class="col-xs-12 col-md-12">
<div class="panel panel-default">
  <div class="panel-heading"><h2>Contatto: <strong>{{dao.tipo_contatto}}</strong></h2></div>
  <div class="panel-body">
    <h4>DATI CONTATTI: {{dao.tipo_contatto}}</h4>
    <div class="col-sm-12">
    <div class="col-sm-6"><span class="label label-default">Cognome</span>{{dao.cognome|nonone}}</div>
    <div class="col-sm-6"><span class="label label-default">Nome</span>{{dao.nome|nonone}}</div>
    <div class="col-sm-6"><span class="label label-default">Ruolo</span>{{dao.ruolo|nonone}}</div>
    <div class="col-sm-6"><span class="label label-default">Descrizione</span>{{dao.descrizione|nonone}}</div>
    <div class="col-sm-6"><span class="label label-default">Appartenenza</span> {{dao.appartenenza|nonone}}</div>
         <div class="clearfix"></div>
        <h4>RECAPITI:</h4>
        {% for recapito in dao.recapiti %}
        <div class="col-sm-4"><span class="label label-warning"> {{recapito.tipo_recapito|nonone}}</span> {{recapito.recapito|nonone}}</div>
{% endfor %}
        <div class="clearfix"></div>
        <h4>NOTE:</h4>
        <div class="col-sm-12">{{dao.note|nonone}}</div>
    </div>
</div>
</div>
</div>
 </div>
     {% endblock %}
